package param.firstStage;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Departpassengerinfo;
import param.pub.Publicrequest;
import param.pub.ShareResponse;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "departpassengerynrequest")
public class DepartpassengerSynRequest extends ShareResponse {

	private static final long serialVersionUID = 1L;

	private Publicrequest publicrequest;

	private List<Departpassengerinfo> departpassengers;

	@XmlElement(name = "publicrequest")
	public Publicrequest getPublicrequest() {
		return publicrequest;
	}

	public void setPublicrequest(Publicrequest publicrequest) {
		this.publicrequest = publicrequest;
	}

	public List<Departpassengerinfo> getDepartpassengers() {
		return departpassengers;
	}

	@XmlElementWrapper(name = "departpassengers")
	@XmlElement(name = "departpassenger")
	public void setDepartpassengers(List<Departpassengerinfo> departpassengers) {
		this.departpassengers = departpassengers;
	}
}
